home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / editor / fwrap311.lha / FinalWrapper3_11 / DocRexx / RunFinalWrapper.rexx < prev    next >
OS/2 REXX Batch file  |  1995-10-17  |  595b  |  22 lines

  1. /* $VER: RunFinalWrapper.rexx 1.01 (21.05.95) BY NDY's */
  2. comm="FWMacros/FinalWrapper.rexx"
  3. IF Exists(comm) THEN
  4.   ADDRESS COMMAND ''comm''
  5. ELSE
  6.   DO
  7.     /* Read FinalWrapper's default macro path */
  8.     IF Open("path","ENV:FinalWrapper/FWPath","R") THEN
  9.       DO
  10.         path=ReadLn("path")
  11.         CALL Close("path")
  12.         comm=path||"FinalWrapper.rexx"
  13.         IF Exists(comm) THEN
  14.           ADDRESS COMMAND 'RX 'comm''
  15.         ELSE
  16.           ShowMessage 1 1 "FinalWrapper not found" "" "" "Ok" "" ""
  17.       END
  18.     ELSE
  19.       ShowMessage 1 1 "FinalWrapper not found" "" "" "Ok" "" ""
  20.   END
  21.  
  22.